import request from '@/utils/request'


//根据系统查询差错率和平均值
//0整车
export function queryRateBySystemZc(query) {
    return request({
        url: '/quality/analysis/system/rate?system=0',
        method: 'post',
        params: query
    })
}
//1动传
export function queryRateBySystemDc(query) {
    return request({
        url: '/quality/analysis/system/rate?system=1',
        method: 'post',
        params: query
    })
}
//2底盘
export function queryRateBySystemDp(query) {
    return request({
        url: '/quality/analysis/system/rate?system=2',
        method: 'post',
        params: query
    })
}
//3车身 
export function queryRateBySystemCs(query) {
    return request({
        url: '/quality/analysis/system/rate?system=3',
        method: 'post',
        params: query
    })
}
//4车电
export function queryRateBySystemCd(query) {
    return request({
        url: '/quality/analysis/system/rate?system=4',
        method: 'post',
        params: query
    })
}